<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<!--%@taglib prefix="form" uri="http://www.springframework.org/tags/form"%-->

<jsp:include page="../header.jsp" />

<form method="post" action="j_spring_security_check">
	<table>
		<tr>
			<td>Email:</td>
			<td><input type="text" name="j_username" /></td>
			<!-- td><form:errors path="email" cssStyle="color:red" /></td-->
		</tr>
		<tr>
			<td>Hasło</td>
			<td><input type="password" name="j_password" /></td>
			<!-- td><form:errors path="haslo" cssStyle="color:red" /></td -->
		</tr>
		<tr>
			<td></td>
			<td align="right"><input type="submit" value="Wyślij" /></td>
			<!-- td></td-->
		</tr>
		<tr>
			<td></td>
			<td><c:if test="${isError}">
					Błąd przy logowaniu!<br>
					<br>
					Nie masz konta? <a href="rejestracja.html">Zarejestruj się!</a>
				</c:if></td>
		</tr>
	</table>
</form>

<jsp:include page="../footer.jsp" />